﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace HomeWork.MODEL
{
    [Table("ActionInfo")]
    public class ActionInfo
    {
        /// <summary>
        /// 活动编号
        /// </summary>
        [Key]
        public int ActionId { get; set; }
        /// <summary>
        /// 活动信息
        /// </summary>
        public string ActionName { get; set; }
        /// <summary>
        /// 活动状态
        /// </summary>
        public int ActionState {  get; set; }
        /// <summary>
        /// 活动类型
        /// </summary>
        public string ActionType {  get; set; }
        /// <summary>
        /// 活动时间
        /// </summary>
        public DateTime ActionTime {  get; set; }= DateTime.Now;
        /// <summary>
        /// 活动地点
        /// </summary>
        public string ActionAddr {  get; set; }
        /// <summary>
        /// 活动发起人
        /// </summary>
        public string ActionMan {  get; set; }
        /// <summary>
        /// 活动图片
        /// </summary>
        public string ActionPhoto {  get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel {  get; set; }=false;
    }
}
